{"version":3,"sources":["popupcomponentsmader.bundle.js"],"names":["this","BX","exports","main_core_events","main_loader","main_core","main_popup","_templateObject","PopupComponentsMaderItem","_EventEmitter","babelHelpers","inherits","_this","options","arguments","length","undefined","classCallCheck","possibleConstructorReturn","getPrototypeOf","call","html","Type","isDomNode","awaitContent","isBoolean","flex","isNumber","withoutBackground","layout","container","await","createClass","key","value","getLoader","loader","Loader","target","getContainer","size","_await","classList","add","showLoader","stopAwait","remove","hideLoader","show","hide","getContent","updateContent","node","Dom","clean","appendChild","Tag","render","taggedTemplateLiteral","style","EventEmitter","_templateObject$1","_templateObject2","PopupComponentsMader","isElementNode","content","contentWrapper","popup","getItem","item","addItem","sectionNode","getPopup","popupWidth","Popup","className","background","contentBackground","angle","offset","maxWidth","offsetLeft","offsetWidth","autoHide","closeByEsc","padding","animation","getContentWrapper","getContentContainer","overflowX","isShown","map","_item$html","getSection","marginBottom","isArray","itemObj","_itemObj$html","then","adjustPromise","isFunction","_item$html2","close","UI","Event","Main"],"mappings":"AAAAA,KAAKC,GAAKD,KAAKC,QACd,SAAUC,EAAQC,EAAiBC,EAAYC,EAAUC,GACzD,aAEA,IAAIC,EAEJ,IAAIC,EAAwC,SAAUC,GACpDC,aAAaC,SAASH,EAA0BC,GAEhD,SAASD,IACP,IAAII,EAEJ,IAAIC,EAAUC,UAAUC,OAAS,GAAKD,UAAU,KAAOE,UAAYF,UAAU,MAC7EJ,aAAaO,eAAejB,KAAMQ,GAClCI,EAAQF,aAAaQ,0BAA0BlB,KAAMU,aAAaS,eAAeX,GAA0BY,KAAKpB,OAChHY,EAAMS,KAAOhB,EAAUiB,KAAKC,UAAUV,IAAY,MAAQA,SAAiB,OAAS,EAAIA,EAAQQ,MAAQR,EAAQQ,KAAO,KACvHT,EAAMY,aAAenB,EAAUiB,KAAKG,UAAUZ,IAAY,MAAQA,SAAiB,OAAS,EAAIA,EAAQW,cAAgBX,IAAY,MAAQA,SAAiB,OAAS,EAAIA,EAAQW,aAAe,KACjMZ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